<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="fnc" uri="/WEB-INF/tlds/fnc.tld"%>
<%@ taglib prefix="shiro" uri="/WEB-INF/tlds/shiros.tld"%><!-- http://shiro.apache.org/tags -->
<%@ page isELIgnored="false"%>
<c:set var="basepath" value="${pageContext.request.contextPath}" />
<c:set var="path" value="${pageContext.request.contextPath}/other" />
<!DOCTYPE html>
<html>
<head>
    <title>查看</title>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <script src="${basepath}/assets/plugins/jquery-1.11.1.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="${basepath}/assets/fullpage/jquery.fullPage.css" />
    <script src="${basepath}/assets/jqueryui/jquery-ui.min.js"></script>
    <script type="text/javascript" src="${basepath}/assets/fullpage/scrolloverflow.min.js"></script>
    <script type="text/javascript" src="${basepath}/assets/fullpage/jquery.fullPage.min.js"></script>
    <style>
        .section{
        <c:if test="${not empty background}">
            background: url("${background}");
        </c:if>
        }
    </style>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#fullpage').fullpage({
                slidesNavigation : true
            });
        });
    </script>
</head>
<body>
    <div class="arrow-bottom">
        <div class="arrow"></div>
    </div>
    <div id="fullpage">
        <div class="section">
        <c:forEach items="${mList}" varStatus="status" var="tplList">
            <div class="slide">
                <div style="top:1px;width:99%">
                    ${tplList.content}
                </div>
            </div>
        </c:forEach>
        <c:forEach items="${dataList}" varStatus="status" var="tplList">
            <div class="slide">
                <div style="top:1px;width:99%;height:100%">
                    <table style="width:100%">
                        <tr>
                            <td style="text-align: center;font-family: 微软雅黑">${ status.index + 1}-${tplList.userName}</td>
                        </tr>
                        <c:forEach items="${tplList.userDataList}" var="tpl">
                            <tr>
                                <td style="padding-left: 10px">${tpl.name}:   ${tpl.value}</td>
                            </tr>
                        </c:forEach>
                    </table>
                </div>
            </div>
        </c:forEach>
        </div>
    </div>
</body>
<script>
</script>
</html>
